<?php

class ApiController extends Zend_Controller_Action {

    public function init() {
        $this->getResponse()
                ->setHeader('Content-Type', 'text/html');
        
    }

    public function indexAction() {
        $server = new Zend_Rest_Server();
        $server->setClass('Application_Model_ApiStudent');
        $server->handle();
    }

}
